import request from '@/utils/request'

// 查询客户端管理列表
export function listClients(query) {
  return request({
    url: '/schoolmanage/clients/list',
    method: 'get',
    params: query
  })
}

// 查询客户端管理详细
export function getClients(clientId) {
  return request({
    url: '/schoolmanage/clients/' + clientId,
    method: 'get'
  })
}

// 新增客户端管理
export function addClients(data) {
  return request({
    url: '/schoolmanage/clients',
    method: 'post',
    data: data
  })
}

// 修改客户端管理
export function updateClients(data) {
  return request({
    url: '/schoolmanage/clients',
    method: 'put',
    data: data
  })
}

// 删除客户端管理
export function delClients(clientId) {
  return request({
    url: '/schoolmanage/clients/' + clientId,
    method: 'delete'
  })
}
